package com.bjut.vendormgrsys.web.dto.campaign;

import com.bjut.vendormgrsys.web.dto.user.UserChildInfo;
import com.bjut.vendormgrsys.web.dto.user.UserInfo;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.List;

@Data
public class CampaignUserInfo {
    @JsonProperty("id")
    private String id = null;

    @JsonProperty("campaignId")
    private String campaignId = null;

    @JsonProperty("userId")
    private String userId = null;

    @JsonProperty("userChildId")
    private String userChildId = null;

    @JsonProperty("userInfo")
    private UserInfo userInfo=null;

    @JsonProperty("userChildInfo")
    private UserChildInfo userChildInfo = null;

    @JsonProperty("type")
    private String type = null; // 类型 志愿者，学生

    @JsonProperty("photo")
    private String photo;

    @JsonProperty("video")
    private String video;

    @JsonProperty("contribution")
    private String contribution;

    @JsonProperty("campaignExpansionInfos")
    private List<CampaignExpansionInfo> campaignExpansionInfos=null;

    /**
     * 创建时间
     */
    @JsonProperty("dateCreated")
    private Long dateCreated = null;

    /**
     * 最后修改时间
     */
    @JsonProperty("lastUpdated")
    private Long lastUpdated = null;
}
